FROM golang:1.22.1

RUN mkdir -p /data/idl && \
    go env -w GOPROXY=https://goproxy.cn,direct && \
    go install github.com/kitex-contrib/kitexcall@latest

WORKDIR /data/idl

ENTRYPOINT ["tail", "-f", "/dev/null"]
#ENTRYPOINT ["/bin/bash", "./script/bootstrap_develop.sh"]